/**
 * 
 */
package Graph;

/**
 * @author SASHA
 *
 */

public class pathway {
	public static int route [] = new int [100];   //a list of points from point of departure
	public static int length = 0; 				     //a number of vertexes in the pathway
	
	public void addVertex (int pointNum){ //adds a vertex to a pathway
		route[length] = pointNum;
		++length;
	}
	
	public pathway(int departNum) {
		addVertex(departNum);
	}
	
	public pathway(){
		;
	}
	
	public int[] getRoute (){
		return route;
	}
	public int getLength(){
		return length;
	}
}
